package model.entityes.exception;

import model.UserException;

public class FloatContentException extends UserException
{

    private static final long serialVersionUID = 1L;
    
    public static FloatContentException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	FloatContentException err = new FloatContentException();
	err.setUserException(userMessage);
	return err;
    }

    public static FloatContentException errorIdEqNull()
    {
	return FloatContentException.getExceptionWhitUserMessage("Error: ID == null");
    }
}
